
// <copyright file="TelnetState.cs" company="Subhadra Software Solutions">
//   
// </copyright>
// <summary>
//   State object for receiving data from remote device.
// </summary>

namespace SubhadraSolutions.Sharp.Utils.Net
{
    using System.Net.Sockets;

    /// <summary>
    ///     State object for receiving data from remote device.
    /// </summary>
    public class TelnetState
    {
        #region Constants

        /// <summary>
        ///     Size of receive buffer.
        /// </summary>
        public const int BufferSize = 256;

        #endregion Constants

        #region Fields

        /// <summary>
        ///     Receive buffer.
        /// </summary>
        public byte[] Buffer = new byte[BufferSize];

        /// <summary>
        ///     Client _socket.
        /// </summary>
        public Socket WorkSocket = null;

        #endregion Fields
    }
}
